From: Jasper St. Pierre Date: Sat, 7 May 2011 07:12:52 +0000 (-0400) Subject: appMenu: Disable reactivity at the start of animation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8250 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c4f5274d74a04b88c5a8ba7615ed16b44c6c82a8;p=gnome-shell.git appMenu: Disable reactivity at the start of animation If you clicked on the application button while it was fading out, like during a transition to the overview, a vestigal menu appeared. https://bugzilla.gnome.org/show_bug.cgi?id=639459 --- diff --git a/js/ui/panel.js b/js/ui/panel.js index cfc5e4d2d..6a24ac99d 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -302,6 +302,7 @@ AppMenuButton.prototype = { this._visible = true; this.actor.show(); + this.actor.reactive = true; if (!this._targetIsCurrent) return; @@ -318,6 +319,7 @@ AppMenuButton.prototype = { return; this._visible = false; + this.actor.reactive = false; if (!this._targetIsCurrent) { this.actor.hide(); return;